import platform

class DeviceDetector:
    def detect(self) -> str:
        """检测操作系统"""
        return platform.system()